#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

#AC_PREREQ([2.67])
AC_INIT([FUNFUNFUN], [0.1], [huangcm85@gmail.com])
AC_CONFIG_SRCDIR([src])
#AM_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE(FUNFUNFUN, 0.1)
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_LIBTOOL
# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h stdlib.h string.h strings.h sys/socket.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
#AC_TYPE_INT32_T

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([bzero socket])

AC_OUTPUT([Makefile
           src/Makefile
           src/common/Makefile
	   src/apue/Makefile
	   src/datastruct/Makefile
	   src/other/Makefile
	   test/Makefile])
